package com.pet.item.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pet.api.dto.OrderDetailDTO;
import com.pet.item.domain.po.Item;

import java.util.List;

/**
 * <p>
 * 商品表 Mapper 接口
 * </p>
 *
 * @author Cookies
 * @since 2024-07-03
 */
public interface ItemMapper extends BaseMapper<Item> {
    void saleItemBatch(List<OrderDetailDTO> items);

    void backItemBatch(List<OrderDetailDTO> items);
}
